<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>B04B阅读提升统计表</title>
<link href="resources/styles/main.css" rel="stylesheet" type="text/css" />
<link type="text/css" href="resources/scripts/jquery-ui-1.8.14.custom/css/start/jquery-ui-1.8.14.custom.css" rel="stylesheet" />	
<script type="text/javascript" src="resources/scripts/jquery-ui-1.8.14.custom/js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="resources/scripts/jquery-ui-1.8.14.custom/js/jquery-ui-1.8.14.custom.min.js"></script>
<script type="text/javascript" src="resources/scripts/jquery-ui-1.8.14.custom/js/jquery.blockUI.js"></script>
<script type="text/javascript" src="resources/scripts/datepicker-CN.js"></script>
<script type="text/javascript">

$(document).ready(function(){
	
	//学期变化的时候则刷新页面，附带学期参数
	$('#term').change(function(){
			window.location.href="<!--{spUrl c=export_tables schoolid=$schoolid a=B04B}-->"+"&termid="+$('#term').val();	
	});
		
});

</script>

<style>
div.ui-datepicker{
 font-size:10px;
}
</style>


</head>


<body>

<table width="100%" height="316" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="63" valign="top" background="resources/images/bgc10.gif" style="padding:30px 0px 0px 35px"><table width="93%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td bgcolor="#8ac281" class="b06"><!--{$school.schoolname}--></td>
            <td><img src="resources/images/bgc11.gif" width="26" height="52" /></td>
          </tr>
        </table></td>
        <td align="right"><span class="b05"><strong>您好， </strong></span><span class="b07"><!--{$school.schoolname}--></span><span class="b05"> <br />
          上次登录：<!--{$user.last_login_date}-->  </span></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td background="resources/images/bgc02.gif"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px">
      <tr>
        <td width="56%" height="40"><img src="resources/images/bgc05.gif" align="absmiddle" /><span class="b01">B04B阅读提升统计表</span></td>
        <td style="padding-left:15px; text-align:right;"><a href="<!--{spUrl c=export_tables a=export_term  schoolid=$schoolid}-->">返回管理界面</a></td>
      </tr>
      
      <tr>
        <td height="1" background="resources/images/bgc04.gif"></td>
        <td background="resources/images/bgc04.gif"></td>
      </tr>
    </table>
     <table width="864" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:10px">
          <tr>
            
            <td colspan="3" align="right" nowrap="nowrap" style="padding-right:15px">
            <span class="b05">
            选择学期：<select id="term" name="termid">
                	<option value="-1" <!--{if $termid==-1}-->selected="selected"<!--{/if}-->>--请选择--</option>
            	<!--{foreach from=$terms item=one}-->
                	<option value="<!--{$one.id}-->" <!--{if $termid==$one.id}-->selected="selected"<!--{/if}-->><!--{$one.termname}--></option>
                <!--{/foreach}-->
            </select></td>
          </tr>
        </table>
<table width="864" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:15px auto 25px auto">
          <tr>
            <td width="864"><img src="resources/images/ke15.gif" width="864" height="5" /></td>
          </tr>
          <tr>
            <td>
            <table width="864" border="0" cellpadding="0" cellspacing="1" bgcolor="#dfdfdf">
              <tr>
                <td width="119" height="30" rowspan="2" bgcolor="#f9f9f9"><p align="center">班级 </p></td>
                  <td width="119" height="30" rowspan="2" bgcolor="#f9f9f9"><p align="center">班级人数 </p></td> 
                <!--{foreach from=$this_col item=col}-->
                <td colspan="2" bgcolor="#f9f9f9"><p align="center"><!--{$col}--></p></td>
                <!--{/foreach}-->
              </tr>
              <tr>
               <!--{foreach from=$this_col item=col}-->
                <td width="50" bgcolor="#f9f9f9"><p align="center">数量<br/>(本数) </p></td>
                <td width="50" bgcolor="#f9f9f9"><p align="center">字数<br/>(千字) </p></td>
                <!--{/foreach}-->
                
              </tr>


                <!--{foreach from=$lists item=row}-->
                <tr>
                
                 <td width="119" height="30" bgcolor="#FFFFFF"><p align="center"><!--{$row[0]}--></p></td>
                 <td width="119" height="30" bgcolor="#FFFFFF"><p align="center"><!--{$row[2]}--></p></td>
                <!--{foreach from=$row[1] item=pitem}-->
                
                <td width="50" align="center" bgcolor="#FFFFFF"><!--{$pitem.sum_ren}--></td>
                 <td width="50" align="center" bgcolor="#FFFFFF"><!--{$pitem.no_ren}--></td>
                <!--{/foreach}-->
                </tr>
                <!--{/foreach}-->
                <tr>
                	 
                    <td  bgcolor="#f9f9f9"><p align="center"><!--{$str_name}--></p></td>
                    <td  bgcolor="#f9f9f9"><p align="center"><!--{$add_t}--></p></td>
                <!--{foreach from=$total_row item=pitem}-->
               
                <td width="50" align="center" bgcolor="#FFFFFF"><!--{$pitem.s_total}--></td>
                
                 <td width="50" align="center" bgcolor="#FFFFFF"><!--{$pitem.n_total}--></td>
                <!--{/foreach}-->
                
                </tr>
            		 <tr>
                	 <td  bgcolor="#f9f9f9"><p align="center"><!--{$str_name2}--></p></td>
                     <td  bgcolor="#f9f9f9"><p align="center">&nbsp;</p></td>
                <!--{foreach from=$avg_row item=pitem}-->
                
                <td width="50" align="center" bgcolor="#FFFFFF"><!--{$pitem.s_total}--></td>
                 <td width="50" align="center" bgcolor="#FFFFFF"><!--{$pitem.n_total}--></td>
                <!--{/foreach}-->
                </tr>
            </table>
            </td>
         </tr>
          <tr>
            <td><img src="resources/images/ke14.gif" width="864" height="5" /></td>
          </tr>
        </table>
        </td>
  </tr>
  <tr>
    <td><img src="resources/images/bgc03.gif" width="960" height="20" /></td>
  </tr>
</table>
<br />
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="b04">
  <tr>
    <td height="80">&nbsp;</td>
  </tr>
</table>
</body>
</html>
